Tables [dbo].[RecurringDonationExpectedPaymentSet]
Properties
PropertyValue
Row Count1
Created2:10:00 PM Thursday, March 18, 2010
Last Modified11:40:07 AM Monday, February 20, 2012
Columns
NameData TypeMax Length (Bytes)Allow NullsDefault
Cluster Primary Key PK_RecurringDonationExpectedPaymentSet: RecurringDonationExpectedPaymentSetKeyRecurringDonationExpectedPaymentSetKeyuniqueidentifier16
No
Indexes IX_RecurringDonationExpectedPaymentSet_ExpectedPaymentDate: ExpectedPaymentDateExpectedPaymentDatedatetime8
Yes
Foreign Keys FK_RecurringDonationExpectedPaymentSet_RecurringDonationExpectedPaymentSetStatusRef: [dbo].[RecurringDonationExpectedPaymentSetStatusRef].RecurringDonationExpectedPaymentSetStatusCodeRecurringDonationExpectedPaymentSetStatusCodesmallint2
No
Foreign Keys FK_RecurringDonationExpectedPaymentSet_UserMain_CreatedBy: [dbo].[UserMain].CreatedByUserKeyCreatedByUserKeyuniqueidentifier16
No
CreatedOndatetime8
No
(getdate())
Foreign Keys FK_RecurringDonationExpectedPaymentSet_UserMain_UpdatedBy: [dbo].[UserMain].UpdatedByUserKeyUpdatedByUserKeyuniqueidentifier16
No
UpdatedOndatetime8
No
(getdate())
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_RecurringDonationExpectedPaymentSet: RecurringDonationExpectedPaymentSetKeyPK_RecurringDonationExpectedPaymentSetRecurringDonationExpectedPaymentSetKey
Yes
IX_RecurringDonationExpectedPaymentSet_ExpectedPaymentDateExpectedPaymentDate
Foreign Keys Foreign Keys
NameColumns
FK_RecurringDonationExpectedPaymentSet_RecurringDonationExpectedPaymentSetStatusRefRecurringDonationExpectedPaymentSetStatusCode->[dbo].[RecurringDonationExpectedPaymentSetStatusRef].[RecurringDonationExpectedPaymentSetStatusCode]
FK_RecurringDonationExpectedPaymentSet_UserMain_CreatedByCreatedByUserKey->[dbo].[UserMain].[UserKey]
FK_RecurringDonationExpectedPaymentSet_UserMain_UpdatedByUpdatedByUserKey->[dbo].[UserMain].[UserKey]
Permissions
TypeActionOwning Principal
GrantDeleteIMIS
GrantInsertIMIS
GrantReferencesIMIS
GrantSelectIMIS
GrantUpdateIMIS
SQL Script
CREATE TABLE [dbo].[RecurringDonationExpectedPaymentSet]
(
[RecurringDonationExpectedPaymentSetKey] [uniqueidentifier] NOT NULL,
[ExpectedPaymentDate] [datetime] NULL,
[RecurringDonationExpectedPaymentSetStatusCode] [smallint] NOT NULL,
[CreatedByUserKey] [uniqueidentifier] NOT NULL,
[CreatedOn] [datetime] NOT NULL CONSTRAINT [DF_RecurringDonationExpectedPaymentSet_CreatedOn] DEFAULT (getdate()),
[UpdatedByUserKey] [uniqueidentifier] NOT NULL,
[UpdatedOn] [datetime] NOT NULL CONSTRAINT [DF_RecurringDonationExpectedPaymentSet_UpdatedOn] DEFAULT (getdate())
) ON [PRIMARY]

GO
ALTER TABLE [dbo].[RecurringDonationExpectedPaymentSet] ADD CONSTRAINT [PK_RecurringDonationExpectedPaymentSet] PRIMARY KEY CLUSTERED ([RecurringDonationExpectedPaymentSetKey]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_RecurringDonationExpectedPaymentSet_ExpectedPaymentDate] ON [dbo].[RecurringDonationExpectedPaymentSet] ([ExpectedPaymentDate]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[RecurringDonationExpectedPaymentSet] ADD CONSTRAINT [FK_RecurringDonationExpectedPaymentSet_RecurringDonationExpectedPaymentSetStatusRef] FOREIGN KEY ([RecurringDonationExpectedPaymentSetStatusCode]) REFERENCES [dbo].[RecurringDonationExpectedPaymentSetStatusRef] ([RecurringDonationExpectedPaymentSetStatusCode])
GO
ALTER TABLE [dbo].[RecurringDonationExpectedPaymentSet] ADD CONSTRAINT [FK_RecurringDonationExpectedPaymentSet_UserMain_CreatedBy] FOREIGN KEY ([CreatedByUserKey]) REFERENCES [dbo].[UserMain] ([UserKey])
GO
ALTER TABLE [dbo].[RecurringDonationExpectedPaymentSet] ADD CONSTRAINT [FK_RecurringDonationExpectedPaymentSet_UserMain_UpdatedBy] FOREIGN KEY ([UpdatedByUserKey]) REFERENCES [dbo].[UserMain] ([UserKey])
GO
GRANT REFERENCES ON  [dbo].[RecurringDonationExpectedPaymentSet] TO [IMIS]
GRANT SELECT ON  [dbo].[RecurringDonationExpectedPaymentSet] TO [IMIS]
GRANT INSERT ON  [dbo].[RecurringDonationExpectedPaymentSet] TO [IMIS]
GRANT DELETE ON  [dbo].[RecurringDonationExpectedPaymentSet] TO [IMIS]
GRANT UPDATE ON  [dbo].[RecurringDonationExpectedPaymentSet] TO [IMIS]
GO
Uses
Used By